package com.klun.project.log;

public class EventPair implements Cloneable {
	private String name;
	private String type;
	private boolean successful;

	public EventPair(String type, String name) {
		this.name = name;
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public String getType() {
		return this.type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isSuccessful() {
		return this.successful;
	}

	public void setSuccessful(boolean successful) {
		this.successful = successful;
	}

	public EventPair clone() throws CloneNotSupportedException {
		return (EventPair)super.clone();
	}

	public String toString() {
		return this.name + "::" + this.type;
	}
}